home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / STUTTGART / UTIL / DESKTOP / BLACKHOLE / !BlakHole2 / !Blackout / FoggyRead < prev    next >
Text File  |  1996-01-20  |  2KB  |  84 lines

  1. CompoSupport is included by permission of its author, Rob Davison.
  2. Please read his copyright notice which is included in the Help
  3. under 'Legal and Copyright'.
  4.  
  5.  
  6. CompoSupport doc
  7.  
  8. ModuleName   = CompoSupport
  9. SWIBlock     = &83480 (Acorn approved)
  10. MessageBlock = &83480      ditto
  11.  
  12. Star Commands
  13. -------------
  14.  
  15. *Compo_OLE 0|1
  16. dis-enable osfile traps to Compo Scrap dir.
  17.  
  18. SWIs
  19. ----
  20.  
  21. Compo_ReadGamma
  22. STATUS: COMPLETE
  23.  
  24. on entry -
  25.  r0 = ptr to 256 byte buffer to hold red gammas
  26.  r1 = ptr to 256 byte buffer to hold green gammas
  27.  r2 = ptr to 256 byte buffer to hold blue gammas
  28.  
  29. on exit -
  30.  contents of buffers to hold last gamma tables written using WriteGamma or
  31.  default tables.
  32.  
  33. Compo_WriteGamma
  34. STATUS: COMPLETE
  35.  
  36. on entry -
  37.  r0 = ptr to WORD ALIGNED red table
  38.  r1                       green table
  39.  r2                       blue table
  40.  
  41. on exit -
  42.  contents of tables written to VIDC20
  43.  
  44. Compo_PaletteToColour
  45. STATUS: NOT DONE
  46.  
  47. on entry -
  48.  r0 = 0 for first call or step number
  49.  r1 = red to go to
  50.  r2 = green to go to
  51.  r3 = blue to go to
  52.  r4 = steps to do it in
  53.  
  54. on exit -
  55.  r0 is updated to hold next step so repeat call until r0=r4
  56.  
  57. Compo_ColourToPalette
  58. STATUS: NOT DONE
  59.  
  60. reverse of above call.
  61.  
  62. on entry -
  63.  r0 = 0 for first call or step number
  64.  r1 = red to come from
  65.  r2 = green to come from
  66.  r3 = blue to come from
  67.  r4 = steps to do it in
  68.  
  69. on exit -
  70.  r0 is updated to hold next step so repeat call until r0=r4
  71.  
  72. Compo_ReadPalette
  73. STATUS: NOT DONE
  74.  r0,r1,r2 =ptrs to RGB palette tables (work in all modes)
  75.  
  76. Compo_WritePalette
  77. STATUS: NOT DONE
  78.  r0,r1,r2 = ptrs to RGB palette tables (work in all modes)
  79.  
  80. Message_CompoOLE &83480
  81.  
  82. Message_CompoKillDA_Request &83481
  83.  
  84.